Fmidipipe
Section: Oct. 1, 1991
(2)
Updated: MiNT Programmer's Manual
Index
Return to Main Contents
NAME
Fmidipipe - redirect MIDI input and output
SYNOPSIS
LONG Fmidipipe( WORD pid, WORD in, WORD out);
DESCRIPTION
Fmidipipe
changes the MIDI input and output file handles
(GEMDOS file handles -4 and -5 respectively)
for process
pid.
in
is the GEMDOS handle (for the calling process) which will become
the MIDI input for the receiving process, and
out
is the GEMDOS handle which is to become the MIDI output.
If
pid
is 0, then the call affects the current process; in this case, it is
roughly equivalent to the sequence
Fforce(-4, in);
Fforce(-5, out);
RETURNS
0 on success
EFILNF if the indicated process is not found
EIHNDL if either
in
or
out
is not a valid open handle.
EACCDN if
in
is not open for reading or if
out
is not open for writing.
SEE ALSO
Fdup(2),
Fforce(2)
BUGS
Any user can change the MIDI input and output of any process.
This will eventually be corrected.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 11:14:04 GMT, June 22, 2025